package com.ruibang.glass.purchase.constant;

/**
 * 流程Id菜单
 */
public enum PurchaseMenuIdCode {
   MENU_ID_YCL_IN(0001,"w0235dokc6a011a6f2b5840cea000020"),
   MENU_ID_BCPK_IN(0002,"w0235dokc6a011a6f2b5840cea000028"),
   MENU_ID_CPK_IN(0003,"w0235dokc6a011a6f2b5840cea000037"),
   MENU_ID_BPBJK_IN(0004,"w0235dokc6a011a6f2b5840cea000045"),
   MENU_ID_YBYQK_IN(0005,"w0235dokc6a011a6f2b5840cea000052"),
   MENU_ID_CLK_IN(0005,"w0235dokc6a011a6f2b5840cea000059"),
   MENU_ID_GJK_IN(0005,"w0235dokc6a011a6f2b5840cea000066"),
   MENU_ID_LBYPK_IN(0005,"w0235dokc6a011a6f2b5840cea000073"),
   MENU_ID_HXP_IN(0005,"w0235dokc6a011a6f2b5840cea000080"),
   MENU_ID_NYDLK_IN(0005,"w0235dokc6a011a6f2b5840cea000087"),
   MENU_ID_GJSK_IN(0005,"w0235dokc6a011a6f2b5840cea000094"),
   MENU_ID_DZSB_IN(0005,"w0235dokc6a011a6f2b5840cea000101"),
   MENU_ID_ZPK_IN(0005,"w0235dokc6a011a6f2b5840cea000108"),
   MENU_ID_BGJJ_IN(0005,"w0235dokc6a011a6f2b5840cea000115"),
   MENU_ID_FWK_IN(0005,"w0235dokc6a011a6f2b5840cea000122"),
   MENU_ID_YCL_OUT(0007,"w0235dokc6a011a6f2b5840cea000021"),
   MENU_ID_All_OUT(00010,"w0235deec6a011a6f2b5840cea000017"),
    ;



    private int code;
    private String msg;

    PurchaseMenuIdCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public static String getValue(int code) {
        for (PurchaseMenuIdCode ele : values()) {
            if (ele.getCode() == code) {
                return ele.getMsg();
            }
        }
        return null;
    }
}
